package com.ruoyi.system.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户通知表对象 user_notification
 * 
 * @author xudengyu
 * @date 2025-03-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class UserNotification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long userNotificationId;

    /** 用户主键 */
    @Excel(name = "用户主键")
    private Long userId;

    /** 消息主键 */
    @Excel(name = "消息主键")
    private Long notificationId;

    /** 是否已读（0-未读；1-已读） */
    @Excel(name = "是否已读", readConverterExp = "0=-未读；1-已读")
    private String isRead;

}
